/**
 * Author.java
 * Version: 1.0
 * Created in 06/08/2013
 * Created by: Gerson Groth
 * 
 * Copyright
 */
package activities.base.tcx;

/**
 * The Class Author.
 * 
 * @author Gerson Groth
 */
public class Author {

	/** The name. */
	private String name;

	/** The build version. */
	private BuildVersion buildVersion;

	/** The language. */
	private Language language;

	/** The part number. */
	private String partNumber;

	/**
	 * Instantiates a new author.
	 * 
	 * @param name
	 *            the name
	 * @param buildVersion
	 *            the build version
	 * @param language
	 *            the language
	 * @param partNumber
	 *            the part number
	 */
	public Author(String name, BuildVersion buildVersion, Language language,
			String partNumber) {
		super();
		this.name = name;
		this.buildVersion = buildVersion;
		this.language = language;
		this.partNumber = partNumber;
	}

	/**
	 * Gets the name.
	 * 
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * Sets the name.
	 * 
	 * @param name
	 *            the new name
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * Gets the builds the version.
	 * 
	 * @return the builds the version
	 */
	public BuildVersion getBuildVersion() {
		return buildVersion;
	}

	/**
	 * Sets the builds the version.
	 * 
	 * @param buildVersion
	 *            the new builds the version
	 */
	public void setBuildVersion(BuildVersion buildVersion) {
		this.buildVersion = buildVersion;
	}

	/**
	 * Gets the language.
	 * 
	 * @return the language
	 */
	public Language getLanguage() {
		return language;
	}

	/**
	 * Sets the language.
	 * 
	 * @param language
	 *            the new language
	 */
	public void setLanguage(Language language) {
		this.language = language;
	}

	/**
	 * Gets the part number.
	 * 
	 * @return the part number
	 */
	public String getPartNumber() {
		return partNumber;
	}

	/**
	 * Sets the part number.
	 * 
	 * @param partNumber
	 *            the new part number
	 */
	public void setPartNumber(String partNumber) {
		this.partNumber = partNumber;
	}
}
